//------------------------------------------------------------------------------
// <copyright file="StringBuilderExtension.cs" company="Damian Antonowicz">
//       copyright © 2010 Damian Antonowicz
// </copyright>
// <author>Damian Antonowicz</author>
// <email>poczta@damianantonowicz.pl</email>
//------------------------------------------------------------------------------

using System.Text;

namespace DAnton.Utilities.Extensions
{
    public static class StringBuilderExtension
    {
        public static void Clear(this StringBuilder stringBuilder)
        {
            if (stringBuilder.Length > 0)
                stringBuilder.Remove(0, stringBuilder.Length);
        }
    }
}
